home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / flashdoc.lzh / ANSWRING.DO next >
Text File  |  1992-02-06  |  2KB  |  78 lines

  1. >** top of file
  2.  
  3. answring.do V. 2.1.0 - 02/06/92
  4.  
  5. Copyright (C) 1992 by Al Fasoldt
  6.  
  7. - Documentation -
  8.  
  9. (You can run this script with the documentation in place, but 
  10. for faster execution, save this copy in a separate folder and 
  11. run this script with the documentation removed.)
  12.  
  13. ANSWRING.DO does something that may seem a little strange. It 
  14. tells Flash to answer the phone only if it has rung for more 
  15. than a minute. Why do such a thing?
  16.  
  17. The answer: To keep Flash from automatically answering all 
  18. calls. If you are away from home and want to be able to call 
  19. your home computer to transfer files (from a laptop, for 
  20. example, when you are traveling), you may not want Flash to 
  21. pick up the line on the first ring; this would greet all human 
  22. callers with a piercing modem whistle. (Not a nice thing, 
  23. especially to those who are calling long-distance.)
  24.  
  25. I wrote this script when I was staying for a few months away 
  26. from home. I knew an answering machine would simply fill up in 
  27. a week or so, and so I wanted the phone to go unanswered unless 
  28. I was calling from my laptop. This script did very nicely.
  29.  
  30. Make sure that the software you are using to call your ST or TT 
  31. is able to continue ringing the phone for much more than a 
  32. minute. I found that a 90-second timeout was necessary in some 
  33. situations.
  34.  
  35. This script is actually the front-end routine for a mini-BBS 
  36. script that I wrote. A shortened version of that script, called 
  37. HOST.DO, is included in the FLASHDOC archive.
  38.  
  39.  
  40.  
  41. - End of documentation -
  42.  
  43. |
  44.  
  45. >** start|
  46. >ca off|
  47. >ca cl|
  48. >L: top|
  49. >ba 24|
  50. >pa 2|
  51. ATZ|
  52. >pa 2|
  53. >wa "RING" 1200 loop1|
  54. >wa "RING" 7 loop1|
  55. >wa "RING" 7 loop1|
  56. >wa "RING" 7 loop1|
  57. >wa "RING" 7 loop1|
  58. >wa "RING" 7 loop1|
  59. >wa "RING" 7 loop1|
  60. >wa "RING" 7 loop1|
  61. >wa "RING" 7 loop1|
  62. >wa "RING" 7 loop1|
  63. >wa "RING" 7 loop1|
  64. ATS0=1|
  65. >wa "CONNECT" 60|
  66. >if ~ca jmp nocar|
  67. >** To chain this script to a mini-BBS script, place a command 
  68. here to run HOST.DO or another DO file that provides remote 
  69. file transfer capabilities. Note that at this point, the end of 
  70. the main routine, the modem has answered the phone.|
  71. >end|
  72. >** no-carrier subroutine|
  73. >L: nocar|
  74. >HG|
  75. >pa 2|
  76. >jmp top|
  77. >end|
  78.